﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ReTS.UI.Native
{
    public partial class Registration : Form
    {
        public Form Previous;

        public Registration()
        {
            InitializeComponent();
        }

        public void SetUsername(string user)
        {
            txtUsername.Text = user;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            Previous.Show();
            this.Close();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            //TODO: Validate and complete the registration.


            Previous.Show();
            this.Close();
        }
    }
}
